import request from '@/utils/request'

// 获取库区数据
export const getAreaApis = (params) => {
  return request({
    url: '/api/area/pageDetail',
    params
  })
}

// 删除
export const delAreaApi = (id) => {
  return request({
    url: 'api/area',
    method: 'DELETE',
    params: {
      'ids[]': id
    }
  })
}
